/*
 * @Author: OreoWang
 * @Email: ihc523@163.com
 * @Date: 2020-06-01 12:05:23
 * @LastEditors: OreoWang
 * @LastEditTime: 2022-08-10 17:15:08
 * @Description: 模型视图控制器
 */
import { _decorator, Component, Node } from "cc";
const { ccclass, property } = _decorator;

import TemplateModel, { ModelData } from "./TemplateModel"
import TemplateView from "./TemplateView"
import ViewController from "db://oreo-mvvm-assistant/core/ViewController";

@ccclass("TemplateController")
export default class TemplateController extends ViewController<TemplateView, TemplateModel, ModelData> {      
    __preload(){
        this.data = new ModelData();
        this.model = new TemplateModel(this, this.view, this.data);
    }
}
